package proxyPattern;

public class Person implements PersonBean {

	String name;
	int salary;

	public Person(String name, int salary) {
		this.name = name;
		this.salary = salary;
	}

	@Override
	public String getName() {
		return name;
	}

	@Override
	public void setSalary(int salary) {
		this.salary = salary;
	}

	@Override
	public int getSalary() {
		return salary;
	}

}
